package com.yf.zzmusic.pojo.dto.favoriteCount;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 使用 用户id与 type 和 目标id进行删除,缺一不可
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FavoriteDeleteDTO {
  @NotNull(message = "用户id(userId)不可为空")
  private Integer userId;
  @NotNull(message = "目标类型(type)不可为空")
  private Integer type;
  @NotNull(message = "目标id(targetId)不可为空")
  private Integer targetId;

}
